<?php

return array(
// -------------------------------  分组设置  -------------------------------- //
    'LOAD_EXT_CONFIG' => 'db,user',
    //Auto load config
    'LANG_SWITCH_ON' => true, // 开启语言包功能
    'LANG_AUTO_DETECT' => false, // 自动侦测语言 开启多语言功能后有效
    'DEFAULT_LANG' => 'zh-tw', // 默认语言
    'LANG_LIST' => 'zh-tw,zh-cn', // 允许切换的语言列表 用逗号分隔
    'LANGS' => array(
        'zh-tw' => '繁體中文',
        'zh-cn' => '简体中文'
        
    ),
    'VAR_LANGUAGE' => 'l', // 默认语言切换变量
    'APP_GROUP_LIST' => 'Frontend,Admin',
    'DEFAULT_GROUP' => 'Frontend',
    //Set Default group
    'LAYOUT_ON' => TRUE,
    // User layout for template
    'LAYOUT_NAME' => 'Layout/columns-left',
    // Default Layout
// ------------------------------  站点常量  --------------------------------- //

    'UPLOAD_PATH_PRODUCT' => './media/product/', //App icon upload filepath
    'UPLOAD_PATH' => './media/upload/', //App icon upload filepath
    'UPLOAD_PATH_ADVERT' => './media/advert/',
    'UPLOAD_PATH_IMAGE' => './media/image/',
    'UPLOAD_PATH_NEWS' => './media/news/',
    'UPLOAD_PATH_ARTICLE' => './media/article/',
    'UPLOAD_PATH_PROMOTE' => './media/promote/',
    'UPLOAD_PATH_CATEGORY' => './media/category/',
    'UPLOAD_FILE_RULE' => 'time',
    'URL_MODEL' => 2, // URL Write Model(0:1:2)
    // --------------------------------  smtp  ---------------------------------- //
    'SMTP_PORT' => 25,
    'SMTP_HOST' => 'smtp.163.com',
    //'SMTP_USERNAME'                 => 'sharesdk_service@163.com',
    'SMTP_USERNAME' => 'sharesdk_register@163.com',
    'SMTP_PASSWORD' => 'sharesdk2013',
    //'SMTP_REPLY'                    => 'sharesdk_service@163.com',
    'SMTP_REPLY' => 'sharesdk_register@163.com',
    'SMTP_REPLY_NAME' => 'ShareSdk',
    //'SMTP_SEND'                     => 'sharesdk_service@163.com',
    'SMTP_SEND' => 'sharesdk_register@163.com',
    'SMTP_SEND_NAME' => 'ShareSdk',
    'LOG_RECORD' => FALSE,
    'WEBVERSION' => '20130512',
    'LOG_EXCEPTION_RECORD' => false,
    'LOG_RECORD' => false,
    'URL_ROUTER_ON' => true,
    //路由定义
    'URL_ROUTE_RULES' => array(
        'about' => 'Index/about',
        'skinnova' => 'Index/skinnova',
    )
);
?>
